package com.example.javapoint.runtime;

import java.io.IOException;

public class OpenEdge {
    public static void main(String[] args) throws IOException, InterruptedException {
        // 打开Edge 浏览器
        Runtime.getRuntime().exec("C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge");
        Thread.sleep(3000);
        //
        System.out.println(Runtime.getRuntime().availableProcessors());
    }
}
